﻿@model TodoApp.Models.TodoItem

@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <title>TodoItem Detail</title>
</head>
<body>
    <div>
        <fieldset>
            <legend>Create Todo Item</legend>
            <div>
                <div>ID: </div>
                <div>@Html.DisplayFor(model => model.Id) </div>
            </div>
            <div>
                <div>Name: </div>
                <div>@Html.DisplayFor(model => model.Name) </div>
            </div>
            <div>
                <div>Priority: </div>
                <div>@Html.DisplayFor(model => model.Priority) </div>
            </div>
            <div>
                <div>Complted: </div>
                <div>@Html.CheckBoxFor(model => model.IsDone) </div>
            </div>
            <div>
                
                @Html.ActionLink("Edit", "Edit", new { id = Model.Id })
            </div>
        </fieldset>
    </div>
</body>
</html>
